package enemies 
{
	/**
	 * ...
	 * @author Excel Excel
	 */
	import flash.display.*;
	import flash.geom.ColorTransform;
	import guns.Shotgun;
	import MovingCircle;
	public class MovingTurret extends Turret
	{
		
		public function MovingTurret(stage: Stage, t: Player) 
		{
			super(stage, t);
			speed = 5;
			gun = new Shotgun(this);
			//	trace("movingturret's ready!");
		}
		override protected function Draw():void
		{
			graphics.clear();
			graphics.beginFill(0x0000FF);
			graphics.drawCircle(0, 0, r); //
			graphics.beginFill(0x6666FF);
			graphics.drawCircle(0, 0, r/2);
			graphics.drawRect(-r/5, -r/5, r, 2*r/5);
			graphics.endFill();
			ColorMeIfImDead();
		}
	
		
	override public function moveForward():void
	{	
		_moveForward();
	}
	}
	

}